/**
 * 
 */
package jmine.tec.test.proxy;

import jmine.tec.proxy.chain.ChainElement;
import jmine.tec.proxy.chain.InvocationChain;

/**
 * @author takeshi
 */
public class MockObjectDelegateChainElement extends AbstractMockObjectChainElement implements ChainElement {

    /**
     * Continua a chamada se o valor nao for especificado
     * 
     * @param chain the invocation chain
     * @return object to return
     * @throws Throwable t
     * @see br.com.maps.util.proxy.AbstractMockObjectChainElement#unespecifiedMethod(br.com.maps.util.proxy.chain.InvocationChain)
     */
    @Override
    protected Object unespecifiedMethod(InvocationChain chain) throws Throwable {
        return chain.proceed();
    }
}
